package edu.zut.cs.software.example.teach.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import edu.zut.cs.software.example.base.service.impl.GenericManagerImpl;
import edu.zut.cs.software.example.teach.dao.StudentDao;
import edu.zut.cs.software.example.teach.domain.Student;
import edu.zut.cs.software.example.teach.service.StudentManager;

@Service("studentManager")
public class StudentManagerImpl extends GenericManagerImpl<Student, Long> implements StudentManager {
	
	StudentDao studentDao;
	
	@Autowired
	public void setStudentDao(StudentDao studentDao) {
		this.studentDao = studentDao;
		this.dao = this.studentDao;
	}

	@Override
	public List<Student> findByFullname(String string) {
		// TODO Auto-generated method stub
		return null;
	}


	
//	@Override
//	public String echo(String message) {
//		String result = "Hello"+message+"!";
//		return result;
//	}
//
//	@Override
//	public Student echo(Student student) {
//		student.setName("xiaohong");
//		return student;
//	}


}
